<template>
	<view style="font-weight: 300;font-size: 28rpx;">
		<view class="bottomborder plr30" style="display: flex;justify-content: space-between;width: 100%;background-color: #fff;">
			<view class="" style="margin-top: 30rpx;">头像</view>
			<view class="">
				<image src="../../../static/Group45.png" mode="" style="height: 100rpx;width: 100rpx;margin-right: 35rpx;"></image>
				<image src="../../../static/right.png" mode="" style="height: 40rpx;width: 40rpx;margin-bottom: 35rpx;"></image>
			</view>
		</view>
		<view class="bottomborder plr30" style="display: flex;justify-content: space-between;width: 100%;background-color: #fff;">
			<view class="" style="">昵称</view>
			<view class="" style="display: flex;">
				<view class="" style="margin-right: 35rpx;" v-if="1==2"><text style="font-weight: 400;">高嘉1</text></view>
				<image src="../../../static/right.png" mode="" style="height: 40rpx;width: 40rpx;"></image>
			</view>
		</view>
		<view class="bottomborder plr30" style="display: flex;justify-content: space-between;width: 100%;background-color: #fff;">
			<view class="" style="">手机号码</view>
			<view class="" v-if="1==2"><text style="font-weight: 400;">15531902573</text></view>
		</view>
		<!-- 	<view class="bottomborder plr30" style="display: flex;justify-content: space-between;width: 100%;background-color: #fff;">
			<view class="" style="display: flex;">
				<image src="../../../static/index/gy.png" mode="" style="width: 40rpx;height: 40rpx;margin-top: -4rpx;"></image>
				<view class=""><text>关于我们</text></view>
			</view>
			<view class=""><text style="font-weight: 400;">xxx公司</text></view>
		</view> -->

		<!-- <view class="bottomborder plr30" style="display: flex;justify-content: space-between;width: 100%;background-color: #fff;" @click="yonghufuwuxieyi">
			<view class="" style="">用户服务协议</view>
			<view class="" style=""><image src="../../../static/right.png" mode="" style="height: 40rpx;width: 40rpx;"></image></view>
		</view>
		<view class="bottomborder plr30" style="display: flex;justify-content: space-between;width: 100%;background-color: #fff;" @click="yinsixieyi">
			<view class="" style="">隐私协议</view>
			<view class="" style=""><image src="../../../static/right.png" mode="" style="height: 40rpx;width: 40rpx;"></image></view> -->
		<!-- </view> -->

		<view class="setup-btn " @tap="logout()">退出登录</view>
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},
	methods: {
		logout() {
			uni.removeStorageSync('token');
			uni.removeStorageSync('userinfoAll');
			uni.removeStorageSync('user_id');
			uni.removeStorageSync('userinfo');
			this.gotoPage('/pages/index/index');
		},
		yonghufuwuxieyi() {
			uni.navigateTo({
				url: '../Administration/yonghufuwuxieyi/yonghufuwuxieyi'
			});
		},
		yinsixieyi() {
			uni.navigateTo({
				url: '../Administration/yinsixieyi/yinsixieyi'
			});
		}
	}
};
</script>

<style>
.left30 {
	margin-left: 30rpx;
}
.plr30 {
	padding: 30rpx 30rpx 20rpx 30rpx;
	box-sizing: border-box;
}
.bottomborder {
	border-bottom: 1rpx solid #f5f5f5;
}
.setup-btn {
	position: fixed;
	bottom: 100rpx;
	left: 5%;
	width: 90%;
	height: 80rpx;
	line-height: 80rpx;
	border-radius: 20rpx;
	background-color: #59d2af;
	color: #fff;
	font-size: 30rpx;
	display: flex;
	justify-content: center;
	margin: 0 auto;
}
</style>
